home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr13
/
fa_edit.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-01-01
|
2KB
|
55 lines
@ECHO OFF
IF [%1] == [/?] GOTO INFORMATION
IF [%1] == [?] GOTO INFORMATION
IF [%1] == [/H] GOTO INFORMATION
IF [%1] == [H] GOTO INFORMATION
IF [%1] == [/h] GOTO INFORMATION
IF [%1] == [h] GOTO INFORMATION
IF [%1] == [] GOTO INFORMATION
MD %1
COPY *.* %1
:Path_Choice
ECHO Do you want to update the PATH variable to reflect where ADEdit will
ECHO reside? You specified %1. If the PATH variable is changed
ECHO your computer will be able to run ADEdit, regardless of where you
ECHO invoke the command.
SET ADE = N
:Path_Choice
IF "%ADE" == "Y" GOTO Append_Path
:Return_Point_1
IF "%ADE" == "N" GOTO END
IF NOT "%ADE" == "Y" GOTO Path_Choice
:Append_Path
COPY AUTOEXEC.BAT AUTOEXEC.ADE
ECHO PATH=%1;%%PATH%% >> AUTOEXEC.BAT
ECHO The AUTOEXEC.BAT file was updated. For safety's sake, a copy was
ECHO made of AUTOEXEC.BAT and named AUTOEXEC.ADE.
ECHO.
ECHO If you have a shell (helper program) loading automatically, the change
ECHO may not properly take effect. If this is the case, you can safely edit
ECHO the AUTOEXEC.BAT file with First ADE Edit, of course. See the
ECHO FAE.DOC documentation or your DOS book for explicit details.
GOTO Return_Point_1
:INFORMATION
CLS
ECHO SYNTAX: %0 Drive:\Directory
ECHO.
ECHO EXAMPLE: %0 C:\ADEdit
ECHO %0 C:\UTILITY
ECHO.
ECHO PURPOSE: Installs Edit to the directory of your choice. Optionally,
ECHO with your permission, modifies your computer's PATH -- making
ECHO Edit available from any directory on your computer.
ECHO.
ECHO AUTHOR: Allen D. Evans, First ADE SoftWear
ECHO 1 September 1994
ECHO.
GOTO END
:END
IF EXIST %1\FAE.EXE ECHO First ADE Edit is properly installed. ENJOY!
SET ADE =